package com.aaa.mrcai.pojo.entity;

import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author:Li-Yan-Chun
 * @Date:2021/12/3 14:34
 */
@Data
@Alias("permission")
public class Permission implements Serializable {
    private Integer id;
    private Integer pid;
    private String type;
    private String pname;
    private String url;
    private String icon;
    private Integer state;

    private List<Permission> subMenu = new ArrayList<>();

}
